<?php use_stylesheets_for_form($form) ?>
<?php use_javascripts_for_form($form) ?>

<form action="<?php echo url_for('@dologin?module=user&action=dologin') ?>" method="post">
  <table class="login">
    <tbody>
      <?php echo $form ?>
    </tbody>
    <tfoot>
      <tr>
        <td colspan="2">
          <input type="submit" value="Авторизоваться" />
        </td>
      </tr>
    </tfoot>    
  </table>
</form>
